package com.yunfei.apiProductKu.bo;
import ch.qos.logback.core.util.StringCollectionUtil;
import com.yunfei.utils.string.StringUtil;
import io.swagger.annotations.ApiModelProperty;

/**
 * @description: 产品库-产品详情-分红方式
 * @author: zhengyunfei
 * @create: 2019-04-08 15:02
 **/
public class FenHongFangShiBo implements java.io.Serializable {
    @ApiModelProperty(value = "序号")
    private String lOrderNo;
    @ApiModelProperty(value = "预计分红日期")
    private String dProfitDate;
    @ApiModelProperty(value = "分红基准日/核算日")
    private String dBaseadJustDate;

    public String getlOrderNo() {
        return lOrderNo;
    }

    public void setlOrderNo(String lOrderNo) {
        this.lOrderNo = lOrderNo;
    }

    public String getdProfitDate() {
        if(!StringUtil.isNullOrEmpty(dProfitDate)&&dProfitDate.length()>10){
            dProfitDate=dProfitDate.substring(0,10);
        }
        return dProfitDate;
    }

    public void setdProfitDate(String dProfitDate) {
        this.dProfitDate = dProfitDate;
    }

    public String getdBaseadJustDate() {
        if(!StringUtil.isNullOrEmpty(dBaseadJustDate)&&dBaseadJustDate.length()>10){
            dBaseadJustDate=dBaseadJustDate.substring(0,10);
        }
        return dBaseadJustDate;
    }

    public void setdBaseadJustDate(String dBaseadJustDate) {
        this.dBaseadJustDate = dBaseadJustDate;
    }
}
